if defined SSH_USER (
  SET SSH_CMD=ssh\ssh2.exe %SSH_USER%@%SSH_SERVER%
) else (
  SET SSH_CMD=ssh\ssh2.exe -i %SSH_KEY% %SSH_SERVER%
)

%SSH_CMD% yum install -y svn
%SSH_CMD% svn co http://coumo.googlecode.com/svn/branches/devtools/hudson /root/devtools
%SSH_CMD% sh /root/devtools/setup_hudson.sh